-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update for embedded-hal 1.0 #1
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, thanks!
Could you also:
- Add an entry to the changelog about this?
- Fix the formatting?
- Update the MSRV to Rust 1.62.0?
Sure, pushed the new changes. Thanks for the feedback 👍 |
Thanks! So that we get the CI to pass, could you add an underscore in these unused arguments in the test and also update the CI clippy version to 1.62.0? |
cargo-llvm-cov is more acurate than tarpaulin
Ok, now I fixed all warnings, all green: https://github.com/madmo/opt300x-rs/actions/runs/8021089068 Replaced cargo-tarpulin with cargo-llvm-cov, because the tarpulin action seems to be broken/abdoned. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great, looks good to me!
Do you have any reason to set the MSRV in CI to 1.63.0 instead of 1.62.0 that I should be aware of? or was it only a typo?
The tests were not compiling for me under 1.62.0 because of embedded-hal-mock v0.10.0 which requires 1.63.0. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, I see. Normally in the CI I run the tests only on stable due to these kind of issues with dev-dependencies and only build this crate with the selected MSRV.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great, thank you for your work!
For the record, I published this in version 1.0.0 |
Updated all dependencies to work with embedded-hal version 1.0